<?php

namespace App\Events\Inspection;

use App\Models\Inspection;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;

class CreatedEvent
{
    use Dispatchable, InteractsWithSockets, SerializesModels;

    public $inspection;

	/**
	 * CreatedEvent constructor.
	 * @param Inspection $inspection
	 */
    public function __construct(Inspection $inspection)
    {
    	$this->inspection = $inspection;
    }
}
